<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<title>清源保网站</title>
		<meta charset="utf-8" />
		<meta name="keywords" content="" />
	<meta name="description" content="" />
		<link rel="stylesheet" href="CSS/style.css" />
		
		<script type="text/javascript" src="JS/jquery-1.7.2.min.js" ></script>
		<script type="text/javascript" src="JS/index.js" ></script>
	</head>
    <header>
			<div class="headcon">
				<div class="logo"><a href=""><img src="UPLOADS/<?php echo $site['logo']; ?>" /></a></div>
				<div class="lang">
					<div class="ch">
						<a href=""><p><img src="images/CH.jpg"/></p>
						<p>中文版</p></a>
					</div>
					<div class="en">
						<p><img src="images/EN.jpg"/></p>
						<p><a href="http://www.baidu.com">ENGLISHI</a></p>
					</div>
				</div>
			</div>
			
		</header>
		<nav>
			<div class="navcon">
				<ul>
               <?php if(isset($termList)){ ?>
					<li><a href="<?php echo U('/'); ?>">首页</a></li>
                <?php } else { ?>
                    <li class="on"><a href="<?php echo U('/'); ?>">首页</a></li>
                <?php }; foreach($termList['nav'] as $t): ?>
                          <li><a href="<?php echo $t['url']; ?>"><?php echo $t['name']; ?></a>
                          <!--如果子栏目不为空则显示，否则不显示-->
                          <?php if(!empty($t['child']['nav'][0]['name'])){ ?>
						<div class="subnav">
							<div class="subleft">
								<ul>
                                <?php foreach($t['child']['nav'] as $te): ?>
                                    <li class="on"><a href="<?php echo $te['url']; ?>"><?php echo $te['name']; ?></a></li>
                                  <?php endforeach; ?>  
								</ul>
							</div>
                            <div class="subright">
                            
								<p class="im"><img src="UPLOADS/<?php echo $t['tag']['img']; ?>" /></p>
								<p><span style="color: #0064b2;">北京清源保生物科技有限公司</span>是由内蒙古科
发生态产业集团有限公司控股的股份制企业，2
001年通过北京市高新技术企业开发区认证，是
中关村高新技术企业。</p>
						    
							</div>
                        </div>
                        <?php } ?>
                      </li>
                     <?php endforeach; ?>
			</div>		
            </nav>
		
		<div class="m_banner">
       
			<div class="banner b1" style=" background-image:url(UPLOADS/<?php echo $links['20']['0']['logo']; ?>);" id="banner1"></div>
	        <div class="banner b2" style=" background-image:url(UPLOADS/<?php echo $links['20']['1']['logo']; ?>);display:none;" id="banner2"></div>
	        
	        <div class="banner_ctrl"> <a href="#" class="prev" title=""></a> <a href="javascript:;" class="next" title=""></a> </div>
          
		</div>
   

	<body>
				<div class="sycon">
			<div class="procon">
				<div class="protit"><img src="images/protit.png" /></div>
				<div class="protrt">
			<?php foreach(term('36')['content'] as $t): ?>
                <p><?php echo $t['description']; ?></p>
                <?php endforeach; ?>

				</div>
			</div>
			
			<div class="blk_jk"> 
				<a class="LeftBotton" onmousedown="SL_GoUp_1()" onmouseup="SL_StopUp_1()" onmouseout="SL_StopUp_1()" href="javascript:void(0);" target="_self">
				<img src="images/zleft.png"/>
				</a>
				  <div class="pcont" id="SISL_Cont_1">
				    <div class="ScrCont">
					
					
				      <div id="SList1_1">
				        <!-- piclist begin -->
						
				      <?php foreach(term('36')['content'] as $r): ?>
						<a class="pl" href="<?php echo $r['url']; ?>" >
				        <div class="jkbox">
				        <p class="im"><img src="UPLOADS/<?php echo $r['cover_img']; ?>" alt="" /></p>
				         <p class="plit"><span>苦参碱系列</span></p>
				      <!-- <p class="plit2">苦参碱系列</p>-->
				        <p class="more">了解更多></p>
				        </div>
				        </a> 
                        <?php endforeach; ?>

				        <!-- piclist end -->
				      </div>
					  
					  
					  
				      <div id="SList2_1"></div>
				    </div>
				  </div>
			  <a class="RightBotton" onmousedown="SL_GoDown_1()" onmouseup="SL_StopDown_1()" onmouseout="SL_StopDown_1()" href="javascript:void(0);" target="_self">
			  <img src="images/zright.png" />
			  </a> 
            </div>

<script type="text/javascript">
        <!--
        picrun_ini()
        //-->
</script>
			<div class="aboutcon">
			<!-- 公司新闻 -->
				<div class="gsnew">
                <?php foreach(term('29') ['content'] as $t): ?>
					<div class="newbtit"><span class="gsxw">公司新闻</span>
					<a href="<?php echo $t['url']; ?>">
					<span class="xwmore">更多新闻</span>
					</a>
					</div>
					<div class="newlist">
						<ul>
                       <?php foreach(term('29')['content'] as $t): ?>
							<li><a href="<?php echo $t['url']; ?>"><?php echo $t['description']; ?></a></li>
                         <?php endforeach; ?>
						</ul>
					</div>
                 <?php endforeach; ?>
				</div>
				<!-- 公司新闻 END -->
				<!-- 公司简介 -->
				<div class="gsjs">
					<div class="gsjstit">公司简介</div>
                   
					<?php foreach(term('26')['content'] as $t): ?>
                    <p class="abimg"> <a href="<?php echo $t['url']; ?>"><img src="UPLOADS/<?php echo $t['cover_img']; ?>" /></a></p>
                    <?php endforeach; ?>
					
				<p class="abspan">
                <?php foreach(term('26')['content'] as $t): ?>
				
				<span style="font-size: 16px;"><?php echo $t['description']; ?><a href="<?php echo $t['url']; ?>">查看更多></a><span>
                <?php endforeach; ?>

                  </p>
				  
				  
				</div>
				<!-- 公司简介END -->
				
				
				
			</div>
			
			
			
			<div class="zscon">
				<div class="zstit1"><img src="images/sytit.png" /></div>
				<div class="zstit2">清源正品，绿色健康</div>
				<div class="zslist">
					<ul>
						<li><img src="images/z1.jpg" /></li>
						<li><img src="images/z2.jpg" /></li>
						<li><img src="images/z3.jpg" /></li>
						<li><img src="images/z4.jpg" /></li>
						<li><img src="images/z5.jpg" /></li>
						<li><img src="images/z6.jpg" /></li>
					</ul>
				</div>
                
				<div class="zsmor"> <a href="">了解更多> </a></div>
			</div>
			
			
			
		</div>
		<script type="text/javascript">

var Speed_1 = 30; //速度(毫秒)
var Space_1 = 20; //每次移动(px)
var PageWidth_1 = 305 * 4; //翻页宽度
var interval_1 = 6000; //翻页间隔时间
var fill_1 = 0; //整体移位
var MoveLock_1 = false;
var MoveTimeObj_1;
var MoveWay_1="right";
var Comp_1 = 0;
var AutoPlayObj_1=null;
function GetObj(objName){if(document.getElementById){return eval('document.getElementById("'+objName+'")')}else{return eval('document.all.'+objName)}}
function AutoPlay_1(){clearInterval(AutoPlayObj_1);AutoPlayObj_1=setInterval('SL_GoDown_1();SL_StopDown_1();',interval_1)}
function SL_GoUp_1(){if(MoveLock_1)return;clearInterval(AutoPlayObj_1);MoveLock_1=true;MoveWay_1="left";MoveTimeObj_1=setInterval('ISL_ScrUp_1();',Speed_1);}
function SL_StopUp_1(){if(MoveWay_1 == "right"){return};clearInterval(MoveTimeObj_1);if((GetObj('SISL_Cont_1').scrollLeft-fill_1)%PageWidth_1!=0){Comp_1=fill_1-(GetObj('SISL_Cont_1').scrollLeft%PageWidth_1);CompScr_1()}else{MoveLock_1=false}
AutoPlay_1()}
function ISL_ScrUp_1(){if(GetObj('SISL_Cont_1').scrollLeft<=0){GetObj('SISL_Cont_1').scrollLeft=GetObj('SISL_Cont_1').scrollLeft+GetObj('SList1_1').offsetWidth}
GetObj('SISL_Cont_1').scrollLeft-=Space_1}
function SL_GoDown_1(){clearInterval(MoveTimeObj_1);if(MoveLock_1)return;clearInterval(AutoPlayObj_1);MoveLock_1=true;MoveWay_1="right";ISL_ScrDown_1();MoveTimeObj_1=setInterval('ISL_ScrDown_1()',Speed_1)}
function SL_StopDown_1(){if(MoveWay_1 == "left"){return};clearInterval(MoveTimeObj_1);if(GetObj('SISL_Cont_1').scrollLeft%PageWidth_1-(fill_1>=0?fill_1:fill_1+1)!=0){Comp_1=PageWidth_1-GetObj('SISL_Cont_1').scrollLeft%PageWidth_1+fill_1;CompScr_1()}else{MoveLock_1=false}
AutoPlay_1()}
function ISL_ScrDown_1(){if(GetObj('SISL_Cont_1').scrollLeft>=GetObj('SList1_1').scrollWidth){GetObj('SISL_Cont_1').scrollLeft=GetObj('SISL_Cont_1').scrollLeft-GetObj('SList1_1').scrollWidth}
GetObj('SISL_Cont_1').scrollLeft+=Space_1}
function CompScr_1(){if(Comp_1==0){MoveLock_1=false;return}
var num,TempSpeed=Speed_1,TempSpace=Space_1;if(Math.abs(Comp_1)<PageWidth_1/2){TempSpace=Math.round(Math.abs(Comp_1/Space_1));if(TempSpace<1){TempSpace=1}}
if(Comp_1<0){if(Comp_1<-TempSpace){Comp_1+=TempSpace;num=TempSpace}else{num=-Comp_1;Comp_1=0}
GetObj('SISL_Cont_1').scrollLeft-=num;setTimeout('CompScr_1()',TempSpeed)}else{if(Comp_1>TempSpace){Comp_1-=TempSpace;num=TempSpace}else{num=Comp_1;Comp_1=0}
GetObj('SISL_Cont_1').scrollLeft+=num;setTimeout('CompScr_1()',TempSpeed)}}
function picrun_ini(){
GetObj("SList2_1").innerHTML=GetObj("SList1_1").innerHTML;
GetObj('SISL_Cont_1').scrollLeft=fill_1>=0?fill_1:GetObj('SList1_1').scrollWidth-Math.abs(fill_1);
GetObj("SISL_Cont_1").onmouseover=function(){clearInterval(AutoPlayObj_1)}
GetObj("SISL_Cont_1").onmouseout=function(){AutoPlay_1()}
AutoPlay_1();
}
</script>
		
		<footer>
			<div class="foot1">
				<p>联系方式:<?php echo $site['iphone']; ?>  联系地址:<?php echo $site['keywords']; ?></p>
				
				<p>E-mail: <?php echo $site['sinalink']; ?></p>
			</div>
			<div class="foot2">
				<div class="foot2con">
					<div class="fba">ICP备案编号:<?php echo $site['ICP']; ?></div>
					<div class="fbq">版权所有:<?php echo $site['banquan']; ?></div>
				</div>
			</div>
		</footer>
	
		
		<div class="flot"><img src="UPLOADS/<?php echo $site['wxlogo']; ?>"></div>
		
		
	</body>
</html>

















